home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20000824-20010305 / 000193_news@columbia.edu _Wed Jan 3 18:12:45 2001.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2])
  3.     by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id SAA05429
  4.     for <kermit.misc@cpunix.cc.columbia.edu>; Wed, 3 Jan 2001 18:12:45 -0500 (EST)
  5. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  6.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id SAA15487
  7.     for <kermit.misc@watsun.cc.columbia.edu>; Wed, 3 Jan 2001 18:12:44 -0500 (EST)
  8. Received: (from news@localhost)
  9.     by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id RAA06797
  10.     for kermit.misc@watsun.cc.columbia.edu; Wed, 3 Jan 2001 17:51:54 -0500 (EST)
  11. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  12. From: Andrew Gierth <andrew@erlenstar.demon.co.uk>
  13. Subject: Re: Converting struct tm to time_t
  14. Date: 03 Jan 2001 22:47:13 +0000
  15. Organization: disorganised
  16. Message-ID: <87wvcc2qz2.fsf@erlenstar.demon.co.uk>
  17. To: kermit.misc@columbia.edu
  18.  
  19. >>>>> "Geoff" == Geoff Clare <gwc@unisoft.com> writes:
  20.  
  21.  Derek> Don't forget to call tzset() after putenv and before mktime
  22.  
  23.  >> SUS sez this is not needed, but I think I recall some older systems
  24.  >> where it was necessary.
  25.  
  26.  Geoff> POSIX.1 has said the same ever since the original 1988
  27.  Geoff> standard.  Any systems that do need an explicit tzset() must
  28.  Geoff> be *really* old.
  29.  
  30. hmm. the only system that could have provoked that recollection would
  31. have been SCO 3.2.2 or 3.2.4, but it could also just have been down to
  32. me being overly cautious at the time.
  33.  
  34. -- 
  35. Andrew.
  36.  
  37. comp.unix.programmer FAQ: see <URL: http://www.erlenstar.demon.co.uk/unix/>
  38.                            or <URL: http://www.whitefang.com/unix/>